package tss.serverGui;

import tss.common.ExtensionStates;
import tss.server.*;

public class Linker implements ServerInterface {
    private String message = "it works";
    private RouteDetail[] routes = new RouteDetail[5];
    private ExtensionStates[] state = null;

    public Linker() {
	routes[0] = new RouteDetail(0,0,1);
	routes[1] = new RouteDetail(1,2,15);
	routes[2] = new RouteDetail(2,9,10);
	routes[3] = new RouteDetail(3,11,5);
	routes[4] = new RouteDetail(4,7,14);
    }

    public String getMessages() {
	return message;
    }

    public RouteDetail[] getConnections() {
	return routes;
    }

    public ExtensionStates[] getExtensionStates() {
	return state;
    }
}